package com.cxhc.system.mapper.cockpit;


import com.cxhc.common.annotation.DataSource;
import com.cxhc.common.enums.DataSourceType;
import com.cxhc.system.domain.cockpit.CmInfo;
import org.apache.ibatis.annotations.MapKey;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;


/**
 * 公告表数据层
 *
 * @author Dhq
 */
public interface CmInfoMapper {


    /**
     * 查询公告
     *
     * @return 公告
     */
    @DataSource(DataSourceType.SLAVE_OLD)
    List<CmInfo> queryCnInfo();

}
